package com.blast.comicsisland.model.topic;

/**
 * Created by dell on 2015/6/24.
 */

import org.json.JSONException;
import org.json.JSONObject;

/**
 * 通过点击专题中的item 的specialid拼接获取的Json列表
 *  是专题列表页的上部分
 *  http://mhjk.1391.com/comic/specialdesc?specialid=124&e=1435064451&channelid=baidu
 */
public class TopicHeadList {
    private String codeMsg;
    private String code;
    private InfoContent info;

    public void parseObject(JSONObject jsonObject){
        info = new InfoContent();
        try {
            if (jsonObject != null){
                JSONObject object = jsonObject.getJSONObject("info");
                info.parseJSON(object);
            }
        } catch (JSONException e) {
            e.printStackTrace();
        }
    }

    public InfoContent getInfo() {
        return info;
    }

    public void setInfo(InfoContent info) {
        this.info = info;
    }
}
